package com.danciyixue.boot.dcyx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.danciyixue.boot.dcyx.model.entity.UserStudyWordHistory;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.query.UserStudyWordHistoryQuery;
import com.danciyixue.boot.dcyx.model.vo.UserStudyWordHistoryVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 历史单词学习记录Mapper接口
 *
 * @author youlaitech
 * @since 2025-06-15 16:20
 */
@Mapper
public interface UserStudyWordHistoryMapper extends BaseMapper<UserStudyWordHistory> {

    /**
     * 获取历史单词学习记录分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<UserStudyWordHistoryVO>} 历史单词学习记录分页列表
     */
    Page<UserStudyWordHistoryVO> getUserStudyWordHistoryPage(Page<UserStudyWordHistoryVO> page, UserStudyWordHistoryQuery queryParams);

}
